3.99 \(\int \frac {x^2}{\cosh ^{-1}(a x)^{3/2}} \, dx\)

Optimal. Leaf size=135 \[ \frac {\sqrt {\pi } \text {erf}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{4 a^3}+\frac {\sqrt {3 \pi } \text {erf}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{4 a^3}+\frac {\sqrt {\pi } \text {erfi}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{4 a^3}+\frac {\sqrt {3 \pi } \text {erfi}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{4 a^3}-\frac {2 x^2 \sqrt {a x-1} \sqrt {a x+1}}{a \sqrt {\cosh ^{-1}(a x)}} \]

[Out]

1/4*erf(arccosh(a*x)^(1/2))*Pi^(1/2)/a^3+1/4*erfi(arccosh(a*x)^(1/2))*Pi^(1/2)/a^3+1/4*erf(3^(1/2)*arccosh(a*x
)^(1/2))*3^(1/2)*Pi^(1/2)/a^3+1/4*erfi(3^(1/2)*arccosh(a*x)^(1/2))*3^(1/2)*Pi^(1/2)/a^3-2*x^2*(a*x-1)^(1/2)*(a
*x+1)^(1/2)/a/arccosh(a*x)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.12, antiderivative size = 135, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 5, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.417, Rules used = {5666, 3307, 2180, 2204, 2205} \[ \frac {\sqrt {\pi } \text {Erf}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{4 a^3}+\frac {\sqrt {3 \pi } \text {Erf}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{4 a^3}+\frac {\sqrt {\pi } \text {Erfi}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{4 a^3}+\frac {\sqrt {3 \pi } \text {Erfi}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{4 a^3}-\frac {2 x^2 \sqrt {a x-1} \sqrt {a x+1}}{a \sqrt {\cosh ^{-1}(a x)}} \]

Antiderivative was successfully verified.

[In]

Int[x^2/ArcCosh[a*x]^(3/2),x]

[Out]

(-2*x^2*Sqrt[-1 + a*x]*Sqrt[1 + a*x])/(a*Sqrt[ArcCosh[a*x]]) + (Sqrt[Pi]*Erf[Sqrt[ArcCosh[a*x]]])/(4*a^3) + (S
qrt[3*Pi]*Erf[Sqrt[3]*Sqrt[ArcCosh[a*x]]])/(4*a^3) + (Sqrt[Pi]*Erfi[Sqrt[ArcCosh[a*x]]])/(4*a^3) + (Sqrt[3*Pi]
*Erfi[Sqrt[3]*Sqrt[ArcCosh[a*x]]])/(4*a^3)

Rule 2180

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[2/d, Subst[Int[F^(g*(e - (c*
f)/d) + (f*g*x^2)/d), x], x, Sqrt[c + d*x]], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rule 2204

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[(F^a*Sqrt[Pi]*Erfi[(c + d*x)*Rt[b*Log[F], 2
]])/(2*d*Rt[b*Log[F], 2]), x] /; FreeQ[{F, a, b, c, d}, x] && PosQ[b]

Rule 2205

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[(F^a*Sqrt[Pi]*Erf[(c + d*x)*Rt[-(b*Log[F]),
 2]])/(2*d*Rt[-(b*Log[F]), 2]), x] /; FreeQ[{F, a, b, c, d}, x] && NegQ[b]

Rule 3307

Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + Pi*(k_.) + (f_.)*(x_)], x_Symbol] :> Dist[I/2, Int[(c + d*x)^m/(E^(
I*k*Pi)*E^(I*(e + f*x))), x], x] - Dist[I/2, Int[(c + d*x)^m*E^(I*k*Pi)*E^(I*(e + f*x)), x], x] /; FreeQ[{c, d
, e, f, m}, x] && IntegerQ[2*k]

Rule 5666

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_)*(x_)^(m_.), x_Symbol] :> Simp[(x^m*Sqrt[-1 + c*x]*Sqrt[1 + c*x]*(
a + b*ArcCosh[c*x])^(n + 1))/(b*c*(n + 1)), x] + Dist[1/(b*c^(m + 1)*(n + 1)), Subst[Int[ExpandTrigReduce[(a +
 b*x)^(n + 1)*Cosh[x]^(m - 1)*(m - (m + 1)*Cosh[x]^2), x], x], x, ArcCosh[c*x]], x] /; FreeQ[{a, b, c}, x] &&
IGtQ[m, 0] && GeQ[n, -2] && LtQ[n, -1]

Rubi steps

\begin {align*} \int \frac {x^2}{\cosh ^{-1}(a x)^{3/2}} \, dx &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{a \sqrt {\cosh ^{-1}(a x)}}-\frac {2 \operatorname {Subst}\left (\int \left (-\frac {\cosh (x)}{4 \sqrt {x}}-\frac {3 \cosh (3 x)}{4 \sqrt {x}}\right ) \, dx,x,\cosh ^{-1}(a x)\right )}{a^3}\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{a \sqrt {\cosh ^{-1}(a x)}}+\frac {\operatorname {Subst}\left (\int \frac {\cosh (x)}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{2 a^3}+\frac {3 \operatorname {Subst}\left (\int \frac {\cosh (3 x)}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{2 a^3}\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{a \sqrt {\cosh ^{-1}(a x)}}+\frac {\operatorname {Subst}\left (\int \frac {e^{-x}}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{4 a^3}+\frac {\operatorname {Subst}\left (\int \frac {e^x}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{4 a^3}+\frac {3 \operatorname {Subst}\left (\int \frac {e^{-3 x}}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{4 a^3}+\frac {3 \operatorname {Subst}\left (\int \frac {e^{3 x}}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{4 a^3}\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{a \sqrt {\cosh ^{-1}(a x)}}+\frac {\operatorname {Subst}\left (\int e^{-x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{2 a^3}+\frac {\operatorname {Subst}\left (\int e^{x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{2 a^3}+\frac {3 \operatorname {Subst}\left (\int e^{-3 x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{2 a^3}+\frac {3 \operatorname {Subst}\left (\int e^{3 x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{2 a^3}\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{a \sqrt {\cosh ^{-1}(a x)}}+\frac {\sqrt {\pi } \text {erf}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{4 a^3}+\frac {\sqrt {3 \pi } \text {erf}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{4 a^3}+\frac {\sqrt {\pi } \text {erfi}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{4 a^3}+\frac {\sqrt {3 \pi } \text {erfi}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{4 a^3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.18, size = 139, normalized size = 1.03 \[ -\frac {2 \sqrt {\frac {a x-1}{a x+1}} (a x+1)+2 \sinh \left (3 \cosh ^{-1}(a x)\right )-\sqrt {3} \sqrt {-\cosh ^{-1}(a x)} \Gamma \left (\frac {1}{2},-3 \cosh ^{-1}(a x)\right )-\sqrt {-\cosh ^{-1}(a x)} \Gamma \left (\frac {1}{2},-\cosh ^{-1}(a x)\right )+\sqrt {\cosh ^{-1}(a x)} \Gamma \left (\frac {1}{2},\cosh ^{-1}(a x)\right )+\sqrt {3} \sqrt {\cosh ^{-1}(a x)} \Gamma \left (\frac {1}{2},3 \cosh ^{-1}(a x)\right )}{4 a^3 \sqrt {\cosh ^{-1}(a x)}} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[x^2/ArcCosh[a*x]^(3/2),x]

[Out]

-1/4*(2*Sqrt[(-1 + a*x)/(1 + a*x)]*(1 + a*x) - Sqrt[3]*Sqrt[-ArcCosh[a*x]]*Gamma[1/2, -3*ArcCosh[a*x]] - Sqrt[
-ArcCosh[a*x]]*Gamma[1/2, -ArcCosh[a*x]] + Sqrt[ArcCosh[a*x]]*Gamma[1/2, ArcCosh[a*x]] + Sqrt[3]*Sqrt[ArcCosh[
a*x]]*Gamma[1/2, 3*ArcCosh[a*x]] + 2*Sinh[3*ArcCosh[a*x]])/(a^3*Sqrt[ArcCosh[a*x]])

________________________________________________________________________________________

fricas [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/arccosh(a*x)^(3/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x^{2}}{\operatorname {arcosh}\left (a x\right )^{\frac {3}{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/arccosh(a*x)^(3/2),x, algorithm="giac")

[Out]

integrate(x^2/arccosh(a*x)^(3/2), x)

________________________________________________________________________________________

maple [F(-2)]  time = 180.00, size = 0, normalized size = 0.00 \[ \int \frac {x^{2}}{\mathrm {arccosh}\left (a x \right )^{\frac {3}{2}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/arccosh(a*x)^(3/2),x)

[Out]

int(x^2/arccosh(a*x)^(3/2),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x^{2}}{\operatorname {arcosh}\left (a x\right )^{\frac {3}{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/arccosh(a*x)^(3/2),x, algorithm="maxima")

[Out]

integrate(x^2/arccosh(a*x)^(3/2), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {x^2}{{\mathrm {acosh}\left (a\,x\right )}^{3/2}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/acosh(a*x)^(3/2),x)

[Out]

int(x^2/acosh(a*x)^(3/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x^{2}}{\operatorname {acosh}^{\frac {3}{2}}{\left (a x \right )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2/acosh(a*x)**(3/2),x)

[Out]

Integral(x**2/acosh(a*x)**(3/2), x)

________________________________________________________________________________________